package com._51cto.healthy.service;

import com._51cto.healthy.base.BaseService;
import com._51cto.healthy.content.P;
import com._51cto.healthy.pojo.BackUps;
import com._51cto.healthy.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService extends BaseService<Member> {

    P<Member> queryMember(String query, Integer pageNum, Integer pageSize);

    Map<String, List<String>> getMemberReportForPastSixMonth();

    Member clientLogin(String phoneNumber, String password);

    Member findUserByName(String phoneNumber);

    int clientRegister(Member member);

    Member findUserById(Integer id);

    int updateMemberById(Member member);
}
